const plan = require('express').Router();

plan.post('/addType', require('./planType/addPlanType'))
plan.post('/typeList', require('./planType/list'))
plan.get('/deleteType', require('./planType/delete'))
plan.post('/editType', require('./planType/edit'))

plan.get('/type', require('./dayPlan/getType'))

plan.post('/dayPlan/list', require('./dayPlan/list'))
plan.post('/dayPlan/import', require('./dayPlan/import'))
plan.post('/dayPlan/add', require('./dayPlan/add'))
plan.post('/dayPlan/edit', require('./dayPlan/edit'))
plan.get('/dayPlan/delete', require('./dayPlan/delete'))
plan.get('/dayPlan/export', require('./dayPlan/export'))

// 导出路由
module.exports = plan;